package com.iran.decorator.example2;

public class MainTest {
    public static void main(String[] args) {
        SimpleMilkTea smt = new SimpleMilkTea();

        AddYeGuo addYeGuo  = new AddYeGuo(smt);
        AddPerl addPerl = new AddPerl(addYeGuo);

        System.out.println(addPerl.getName());
        System.out.println(addPerl.getPrice());


    }
}
